package cn.ecms.service.impl.customerdynamicmanager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.ecms.mapper.customerdynamicmanager.DynamicTitleMapper;
import cn.ecms.pojo.DynamicTitle;
import cn.ecms.service.customerdynamicmanager.DynamicTitleService;

@Service
public class DynamicTitleServiceImpl implements DynamicTitleService {

	@Autowired
	private DynamicTitleMapper dynamicTitleMapper;
	
	@Override
	public int deleteByPrimaryKey(String titleId) {
		return dynamicTitleMapper.deleteByPrimaryKey(titleId);
	}

	@Override
	public int insert(DynamicTitle record) {
		return dynamicTitleMapper.insert(record);
	}

	@Override
	public int insertSelective(DynamicTitle record) {
		return dynamicTitleMapper.insertSelective(record);
	}

	@Override
	public DynamicTitle selectByPrimaryKey(String titleId) {
		return dynamicTitleMapper.selectByPrimaryKey(titleId);
	}

	@Override
	public int updateByPrimaryKeySelective(DynamicTitle record) {
		return dynamicTitleMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(DynamicTitle record) {
		return dynamicTitleMapper.updateByPrimaryKey(record);
	}

}
